package dome1;

public class Cycle extends Shape{
    public double length;
    public double winth;
    public Cycle(double r){
        super(r);
    }

    @Override
    public void area() {
        double s = r * r;
        System.out.println("图形的面积"+s);
    }
    @Override
    public void draw(){
        System.out.println("圆的半径"+r);
    }
}
